﻿<UserControl x:Class="YALV.View.Components.RepositoriesListView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Components="clr-namespace:YALV.View.Components" mc:Ignorable="d" 
             d:DesignHeight="220" d:DesignWidth="250">
    <Grid>
        <StackPanel>
            <Label>File List : </Label>
            <ItemsControl Name="ListRepositories"
                HorizontalAlignment="Left" 
                VerticalAlignment="Top"
                ItemsSource="{Binding Path=ManageRepositoriesViewModel.Repositories}">
                <ItemsControl.ItemTemplate>
                    <DataTemplate>
                        <Components:RepositoryView />
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
            </ItemsControl>
        </StackPanel>
    </Grid>
</UserControl>
